#include <cstdio>
#include <cstdlib>
#include <cstring>
using namespace std;

#define STRING_LENGTH 210

void swap_element(char[], int, int);
void quick_sort(char[], int);

int main()
{
    char str[STRING_LENGTH] = {0};
    while (fgets(str, STRING_LENGTH, stdin) != NULL) {
        int str_len = strlen(str);
        if (str[str_len - 1] == '\n') {
            str[str_len - 1] = '\0';
            str_len--;
        }
        quick_sort(str, str_len);
        printf("%s\n", str);
    }
}

void swap_element(char array[], int i, int j) 
{
    int temp;
    temp = array[i];
    array[i] = array[j];
    array[j] = temp;
}

void quick_sort(char array[], int num) 
{
    int i, last = 0;
    if (num <= 1)
        return;
    swap_element(array, 0, rand() % num);
    for (i = 1; i < num; i++) {
        if (array[i] < array[0])
            swap_element(array, ++last, i);
    }

    swap_element(array, 0, last);
    quick_sort(array, last);
    quick_sort(array + last + 1, num - last - 1);
}
